<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>junglego: World Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">junglego
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">World Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="world_8hpp_source.html">world.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for World:</div>
<div class="dyncontent">
<div class="center"><img src="class_world__coll__graph.png" border="0" usemap="#_world_coll__map" alt="Collaboration graph"/></div>
<map name="_world_coll__map" id="_world_coll__map">
<area shape="rect" id="node2" href="class_creature.html" title="Creature" alt="" coords="198,336,268,363"/><area shape="rect" id="node4" href="class_object.html" title="Object" alt="" coords="123,245,183,272"/><area shape="rect" id="node6" href="structs__kinematic.html" title="s_kinematic" alt="" coords="5,125,96,152"/><area shape="rect" id="node8" href="structs__vector.html" title="s_vector" alt="" coords="15,5,85,32"/><area shape="rect" id="node10" href="structs__colour.html" title="s_colour" alt="" coords="121,125,191,152"/><area shape="rect" id="node12" href="class_brain.html" title="Brain" alt="" coords="207,245,259,272"/><area shape="rect" id="node14" href="class_neuron.html" title="Neuron" alt="" coords="335,125,397,152"/><area shape="rect" id="node16" href="structconnection.html" title="connection" alt="" coords="324,245,409,272"/><area shape="rect" id="node19" href="class_food.html" title="Food" alt="" coords="441,336,492,363"/><area shape="rect" id="node21" href="class_consumable.html" title="Consumable" alt="" coords="434,245,528,272"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_world-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afa39d4e6f714a7a3691ac0c656f5e8a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#afa39d4e6f714a7a3691ac0c656f5e8a8">World</a> ()</td></tr>
<tr class="memitem:a8c73fba541a5817fff65147ba47cd827"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a8c73fba541a5817fff65147ba47cd827">~World</a> ()</td></tr>
<tr class="memitem:a695e14e5574f9bbdf58c8f39538b11d3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a695e14e5574f9bbdf58c8f39538b11d3">init</a> (<a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> nCreature, <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> nFood, <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> xSize, <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> ySize)</td></tr>
<tr class="memitem:a51b30c67551fb563d87d99d28d0fd6c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a51b30c67551fb563d87d99d28d0fd6c6">moveScreen</a> (<a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> x, <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> y, <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> scale)</td></tr>
<tr class="memitem:aac8c1fde63c06577ffc648aaefdb37f0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#aac8c1fde63c06577ffc648aaefdb37f0">update</a> ()</td></tr>
<tr class="memitem:a7fa844c028cf185a5f90359cceeabf7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a7fa844c028cf185a5f90359cceeabf7c">paint</a> ()</td></tr>
<tr class="memitem:aec128c792d233ed624adfc926a3d9744"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_creature.html">Creature</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#aec128c792d233ed624adfc926a3d9744">getCreatures</a> ()</td></tr>
<tr class="memitem:a77967920dfc8db42cec61466e92d3404"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a77967920dfc8db42cec61466e92d3404">saveCreature</a> (<a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> index, const char *filename)</td></tr>
<tr class="memitem:a7f25ed25bcc5ec8f5947c0fd31e8be4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a7f25ed25bcc5ec8f5947c0fd31e8be4d">loadCreature</a> (<a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> index, const char *filename)</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a1b037e6b00d93bac9ec7db5a1217e4fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a1b037e6b00d93bac9ec7db5a1217e4fc">applyCollision</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a42483905f9b8454a61292868d29a8843"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a42483905f9b8454a61292868d29a8843">m_nCreature</a></td></tr>
<tr class="memitem:a83dbea29b17661c6ca0252e82e932b1e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_creature.html">Creature</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a83dbea29b17661c6ca0252e82e932b1e">m_creatures</a></td></tr>
<tr class="memitem:a2813ef8498f64db3f9ee964c07d0a205"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_food.html">Food</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a2813ef8498f64db3f9ee964c07d0a205">m_food</a></td></tr>
<tr class="memitem:a6bf5860fb9d8f404200592609206e216"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a6bf5860fb9d8f404200592609206e216">m_xScr</a></td></tr>
<tr class="memitem:a6b96ef9603bdd3c8bca55eb7e3ec88bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a6b96ef9603bdd3c8bca55eb7e3ec88bd">m_yScr</a></td></tr>
<tr class="memitem:a02f718296e4f2887157520a32c816751"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a02f718296e4f2887157520a32c816751">m_scale</a></td></tr>
<tr class="memitem:a189b065d93b1ec9055065fea18aa9961"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a189b065d93b1ec9055065fea18aa9961">m_xSize</a></td></tr>
<tr class="memitem:a7e13242f5970ab45bd6b992c8987d972"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a7e13242f5970ab45bd6b992c8987d972">m_ySize</a></td></tr>
<tr class="memitem:a8a39b5be00006f714a4dcb55e0410e0d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#a8a39b5be00006f714a4dcb55e0410e0d">m_tick</a></td></tr>
<tr class="memitem:aab92ff316e69058675e7232c84fdc246"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_world.html#aab92ff316e69058675e7232c84fdc246">m_state</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="world_8hpp_source.html#l00015">15</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afa39d4e6f714a7a3691ac0c656f5e8a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_world.html#afa39d4e6f714a7a3691ac0c656f5e8a8">World::World</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00006">6</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8c73fba541a5817fff65147ba47cd827"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_world.html#a8c73fba541a5817fff65147ba47cd827">World::~World</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00008">8</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1b037e6b00d93bac9ec7db5a1217e4fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_world.html#a1b037e6b00d93bac9ec7db5a1217e4fc">World::applyCollision</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00085">85</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

<p>References <a class="el" href="gl_helper_8hpp_source.html#l00029">dotProduct()</a>, <a class="el" href="object_8hpp_source.html#l00020">Object::getKinematic()</a>, <a class="el" href="gl_helper_8hpp_source.html#l00035">getMag()</a>, <a class="el" href="object_8hpp_source.html#l00014">Object::getRadius()</a>, <a class="el" href="world_8hpp_source.html#l00030">m_creatures</a>, <a class="el" href="world_8hpp_source.html#l00029">m_nCreature</a>, <a class="el" href="world_8hpp_source.html#l00038">m_xSize</a>, <a class="el" href="world_8hpp_source.html#l00039">m_ySize</a>, <a class="el" href="types_8hpp_source.html#l00027">s_kinematic::pos</a>, <a class="el" href="types_8hpp_source.html#l00028">s_kinematic::vel</a>, <a class="el" href="types_8hpp_source.html#l00022">s_vector::x</a>, and <a class="el" href="types_8hpp_source.html#l00023">s_vector::y</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00057">paint()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_cgraph.png" border="0" usemap="#class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_cgraph" alt=""/></div>
<map name="class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_cgraph" id="class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_cgraph">
<area shape="rect" id="node3" href="gl_helper_8hpp.html#acda2c0df466197df16279cde740ead0f" title="dotProduct" alt="" coords="227,5,312,32"/><area shape="rect" id="node5" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="197,56,341,83"/><area shape="rect" id="node7" href="gl_helper_8hpp.html#a0e15415718a6e1b6bb503e99e3e3f1f6" title="getMag" alt="" coords="237,107,302,133"/><area shape="rect" id="node9" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="206,157,333,184"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_icgraph.png" border="0" usemap="#class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_icgraph" alt=""/></div>
<map name="class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_icgraph" id="class_world_a1b037e6b00d93bac9ec7db5a1217e4fc_icgraph">
<area shape="rect" id="node3" href="class_world.html#a7fa844c028cf185a5f90359cceeabf7c" title="World::paint" alt="" coords="198,5,290,32"/><area shape="rect" id="node5" href="main_8cpp.html#a1e5b20fed15743656bb6d2e6a6ea6269" title="display" alt="" coords="339,5,402,32"/><area shape="rect" id="node7" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="451,5,501,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aec128c792d233ed624adfc926a3d9744"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_creature.html">Creature</a> * <a class="el" href="class_world.html#aec128c792d233ed624adfc926a3d9744">World::getCreatures</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00073">73</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

<p>References <a class="el" href="world_8hpp_source.html#l00030">m_creatures</a>.</p>

</div>
</div>
<a class="anchor" id="a695e14e5574f9bbdf58c8f39538b11d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_world.html#a695e14e5574f9bbdf58c8f39538b11d3">World::init</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>nCreature</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>nFood</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>xSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>ySize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00010">10</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

<p>References <a class="el" href="types_8hpp_source.html#l00013">s_colour::b</a>, <a class="el" href="types_8hpp_source.html#l00012">s_colour::g</a>, <a class="el" href="object_8hpp_source.html#l00018">Object::getColour()</a>, <a class="el" href="object_8hpp_source.html#l00020">Object::getKinematic()</a>, <a class="el" href="object_8hpp_source.html#l00014">Object::getRadius()</a>, <a class="el" href="creature_8cpp_source.html#l00029">Creature::init()</a>, <a class="el" href="world_8hpp_source.html#l00030">m_creatures</a>, <a class="el" href="world_8hpp_source.html#l00029">m_nCreature</a>, <a class="el" href="world_8hpp_source.html#l00036">m_scale</a>, <a class="el" href="world_8hpp_source.html#l00034">m_xScr</a>, <a class="el" href="world_8hpp_source.html#l00038">m_xSize</a>, <a class="el" href="world_8hpp_source.html#l00035">m_yScr</a>, <a class="el" href="world_8hpp_source.html#l00039">m_ySize</a>, <a class="el" href="types_8hpp_source.html#l00027">s_kinematic::pos</a>, <a class="el" href="types_8hpp_source.html#l00011">s_colour::r</a>, <a class="el" href="types_8hpp_source.html#l00028">s_kinematic::vel</a>, <a class="el" href="types_8hpp_source.html#l00022">s_vector::x</a>, and <a class="el" href="types_8hpp_source.html#l00023">s_vector::y</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00108">initCore()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_a695e14e5574f9bbdf58c8f39538b11d3_cgraph.png" border="0" usemap="#class_world_a695e14e5574f9bbdf58c8f39538b11d3_cgraph" alt=""/></div>
<map name="class_world_a695e14e5574f9bbdf58c8f39538b11d3_cgraph" id="class_world_a695e14e5574f9bbdf58c8f39538b11d3_cgraph">
<area shape="rect" id="node3" href="class_object.html#af09fffca261588bbbffc8bbe83bab13f" title="Object::getColour" alt="" coords="323,5,445,32"/><area shape="rect" id="node5" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="312,107,456,133"/><area shape="rect" id="node7" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="137,157,263,184"/><area shape="rect" id="node9" href="class_creature.html#ae109a8875e1906f4ffee7bf3b8ba479c" title="Creature::init" alt="" coords="152,56,248,83"/><area shape="rect" id="node13" href="class_object.html#a21ffb1c449600ac2cd2afb1aefdc5bde" title="Object::setRadius" alt="" coords="321,56,447,83"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_a695e14e5574f9bbdf58c8f39538b11d3_icgraph.png" border="0" usemap="#class_world_a695e14e5574f9bbdf58c8f39538b11d3_icgraph" alt=""/></div>
<map name="class_world_a695e14e5574f9bbdf58c8f39538b11d3_icgraph" id="class_world_a695e14e5574f9bbdf58c8f39538b11d3_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a0be26f297e969c1bec3fabc753fbcee8" title="initCore" alt="" coords="136,5,203,32"/><area shape="rect" id="node5" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="251,5,301,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7f25ed25bcc5ec8f5947c0fd31e8be4d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_world.html#a7f25ed25bcc5ec8f5947c0fd31e8be4d">World::loadCreature</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00081">81</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a51b30c67551fb563d87d99d28d0fd6c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_world.html#a51b30c67551fb563d87d99d28d0fd6c6">World::moveScreen</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>scale</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00045">45</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7fa844c028cf185a5f90359cceeabf7c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_world.html#a7fa844c028cf185a5f90359cceeabf7c">World::paint</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00057">57</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

<p>References <a class="el" href="world_8cpp_source.html#l00085">applyCollision()</a>, <a class="el" href="world_8hpp_source.html#l00030">m_creatures</a>, <a class="el" href="world_8hpp_source.html#l00029">m_nCreature</a>, and <a class="el" href="creature_8cpp_source.html#l00052">Creature::paint()</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00092">display()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_a7fa844c028cf185a5f90359cceeabf7c_cgraph.png" border="0" usemap="#class_world_a7fa844c028cf185a5f90359cceeabf7c_cgraph" alt=""/></div>
<map name="class_world_a7fa844c028cf185a5f90359cceeabf7c_cgraph" id="class_world_a7fa844c028cf185a5f90359cceeabf7c_cgraph">
<area shape="rect" id="node3" href="class_world.html#a1b037e6b00d93bac9ec7db5a1217e4fc" title="World::applyCollision" alt="" coords="147,107,291,133"/><area shape="rect" id="node13" href="class_creature.html#a4e16b04f8a7a0fb76d1da13a671a3d2a" title="Creature::paint" alt="" coords="165,157,272,184"/><area shape="rect" id="node5" href="gl_helper_8hpp.html#acda2c0df466197df16279cde740ead0f" title="dotProduct" alt="" coords="368,5,453,32"/><area shape="rect" id="node7" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="339,107,483,133"/><area shape="rect" id="node9" href="gl_helper_8hpp.html#a0e15415718a6e1b6bb503e99e3e3f1f6" title="getMag" alt="" coords="378,56,443,83"/><area shape="rect" id="node11" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="347,157,474,184"/><area shape="rect" id="node15" href="gl_helper_8cpp.html#af09d4e544e73d211b48d2f6adc044a08" title="drawCircle" alt="" coords="369,208,452,235"/><area shape="rect" id="node17" href="class_object.html#af09fffca261588bbbffc8bbe83bab13f" title="Object::getColour" alt="" coords="349,259,472,285"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_a7fa844c028cf185a5f90359cceeabf7c_icgraph.png" border="0" usemap="#class_world_a7fa844c028cf185a5f90359cceeabf7c_icgraph" alt=""/></div>
<map name="class_world_a7fa844c028cf185a5f90359cceeabf7c_icgraph" id="class_world_a7fa844c028cf185a5f90359cceeabf7c_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a1e5b20fed15743656bb6d2e6a6ea6269" title="display" alt="" coords="147,5,210,32"/><area shape="rect" id="node5" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="259,5,309,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a77967920dfc8db42cec61466e92d3404"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_world.html#a77967920dfc8db42cec61466e92d3404">World::saveCreature</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00077">77</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aac8c1fde63c06577ffc648aaefdb37f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_world.html#aac8c1fde63c06577ffc648aaefdb37f0">World::update</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8cpp_source.html#l00049">49</a> of file <a class="el" href="world_8cpp_source.html">world.cpp</a>.</p>

<p>References <a class="el" href="world_8hpp_source.html#l00030">m_creatures</a>, <a class="el" href="world_8hpp_source.html#l00029">m_nCreature</a>, and <a class="el" href="creature_8cpp_source.html#l00037">Creature::move()</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00096">animate()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_aac8c1fde63c06577ffc648aaefdb37f0_cgraph.png" border="0" usemap="#class_world_aac8c1fde63c06577ffc648aaefdb37f0_cgraph" alt=""/></div>
<map name="class_world_aac8c1fde63c06577ffc648aaefdb37f0_cgraph" id="class_world_aac8c1fde63c06577ffc648aaefdb37f0_cgraph">
<area shape="rect" id="node3" href="class_creature.html#aee07784fade6640a4dbdc837397b6b5b" title="Creature::move" alt="" coords="157,56,267,83"/><area shape="rect" id="node5" href="class_object.html#af09fffca261588bbbffc8bbe83bab13f" title="Object::getColour" alt="" coords="325,5,448,32"/><area shape="rect" id="node7" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="315,56,459,83"/><area shape="rect" id="node9" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="323,107,450,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_world_aac8c1fde63c06577ffc648aaefdb37f0_icgraph.png" border="0" usemap="#class_world_aac8c1fde63c06577ffc648aaefdb37f0_icgraph" alt=""/></div>
<map name="class_world_aac8c1fde63c06577ffc648aaefdb37f0_icgraph" id="class_world_aac8c1fde63c06577ffc648aaefdb37f0_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3e73164d603e05e94b8eedeb557a3245" title="animate" alt="" coords="158,5,226,32"/><area shape="rect" id="node5" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="275,5,325,32"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a83dbea29b17661c6ca0252e82e932b1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_creature.html">Creature</a>* <a class="el" href="class_world.html#a83dbea29b17661c6ca0252e82e932b1e">World::m_creatures</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00030">30</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00085">applyCollision()</a>, <a class="el" href="world_8cpp_source.html#l00073">getCreatures()</a>, <a class="el" href="world_8cpp_source.html#l00010">init()</a>, <a class="el" href="world_8cpp_source.html#l00057">paint()</a>, and <a class="el" href="world_8cpp_source.html#l00049">update()</a>.</p>

</div>
</div>
<a class="anchor" id="a2813ef8498f64db3f9ee964c07d0a205"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_food.html">Food</a>* <a class="el" href="class_world.html#a2813ef8498f64db3f9ee964c07d0a205">World::m_food</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00031">31</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a42483905f9b8454a61292868d29a8843"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#a42483905f9b8454a61292868d29a8843">World::m_nCreature</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00029">29</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00085">applyCollision()</a>, <a class="el" href="world_8cpp_source.html#l00010">init()</a>, <a class="el" href="world_8cpp_source.html#l00057">paint()</a>, and <a class="el" href="world_8cpp_source.html#l00049">update()</a>.</p>

</div>
</div>
<a class="anchor" id="a02f718296e4f2887157520a32c816751"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#a02f718296e4f2887157520a32c816751">World::m_scale</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00036">36</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00010">init()</a>.</p>

</div>
</div>
<a class="anchor" id="aab92ff316e69058675e7232c84fdc246"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#aab92ff316e69058675e7232c84fdc246">World::m_state</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00042">42</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8a39b5be00006f714a4dcb55e0410e0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#a8a39b5be00006f714a4dcb55e0410e0d">World::m_tick</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00041">41</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6bf5860fb9d8f404200592609206e216"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#a6bf5860fb9d8f404200592609206e216">World::m_xScr</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00034">34</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00010">init()</a>.</p>

</div>
</div>
<a class="anchor" id="a189b065d93b1ec9055065fea18aa9961"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#a189b065d93b1ec9055065fea18aa9961">World::m_xSize</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00038">38</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00085">applyCollision()</a>, and <a class="el" href="world_8cpp_source.html#l00010">init()</a>.</p>

</div>
</div>
<a class="anchor" id="a6b96ef9603bdd3c8bca55eb7e3ec88bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#a6b96ef9603bdd3c8bca55eb7e3ec88bd">World::m_yScr</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00035">35</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00010">init()</a>.</p>

</div>
</div>
<a class="anchor" id="a7e13242f5970ab45bd6b992c8987d972"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="class_world.html#a7e13242f5970ab45bd6b992c8987d972">World::m_ySize</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="world_8hpp_source.html#l00039">39</a> of file <a class="el" href="world_8hpp_source.html">world.hpp</a>.</p>

<p>Referenced by <a class="el" href="world_8cpp_source.html#l00085">applyCollision()</a>, and <a class="el" href="world_8cpp_source.html#l00010">init()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="world_8hpp_source.html">world.hpp</a></li>
<li><a class="el" href="world_8cpp_source.html">world.cpp</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 20 2012 21:57:16 for junglego by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
